home *** CD-ROM | disk | FTP | other *** search
- ; FONTLOAD.ASM -- Loads a customized font
-
- CSEG Segment
- Assume CS:CSEG, DS:CSEG, ES:CSEG
- Org 0100h
- Entry: Mov AX, 1100h ; Load font
- Mov BH, 0Eh ; Bytes/Char
- Mov BL, 00h ; Block
- Mov CX, 0100h ; Number Chars
- Mov DX, 0000h ; Start Char
- Mov BP, Offset Font ; Address
- Int 10h
- Int 20h
-
- Font Label Byte
-
- Include MYFONT ; Your font file name goes here
-
- CSEG EndS
- End Entry
-
-
-
-
- Figure 14. FONTLOAD loads a customized font in
- the format produced by FONT2DB. This program
- requires a Macro Assembler.
-
-